

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorVisitXMissionStructureEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, February 07, 2009</remarks>
	public sealed partial class VendorVisitXMissionStructureEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_Visit_XMissionStructures_Poles_tb_Vendor_Visit_XMissionStructures : True
	// FK_tb_Vendor_Visit_XMissionStructures_Images_tb_Vendor_Visit_XMissionStructures : True
	// FK_tb_Vendor_Visit_XMissionStructures_tb_Utility_Asset_XMissionStructures : False

	#region Collection Property: VendorVisitXMissionStructuresPoleCollection
	
		/// <summary>
		/// Stores a collection of VendorVisitXMissionStructuresPole Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitXMissionStructuresPoleEntity> prop_VendorVisitXMissionStructuresPoleCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorVisitXMissionStructuresPole Entities associated with this VendorVisitXMissionStructureEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorVisitXMissionStructuresPoles table
		/// that are associated with the row in the VendorVisitXMissionStructures table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Visit_XMissionStructures.Vendor_Visit_XMissionStructureId) to
		/// many (tb_Vendor_Visit_XMissionStructures_Poles.Vendor_Visit_XMissionStructureFK)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Visit_XMissionStructures<para></para>
		/// PrimaryTableKey = Vendor_Visit_XMissionStructureId<para></para>
		/// ForeignTable = tb_Vendor_Visit_XMissionStructures_Poles<para></para>
		/// ForeignTableKey = Vendor_Visit_XMissionStructureFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorVisitXMissionStructureEntity.
		/// Since the Entities can be of any type, this gives the VendorVisitXMissionStructureEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorVisitXMissionStructuresPoleEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitXMissionStructuresPoleEntity>   VendorVisitXMissionStructuresPoleCollection
		{
			get {return prop_VendorVisitXMissionStructuresPoleCollection;}
			set {prop_VendorVisitXMissionStructuresPoleCollection = value;}
		}

	#endregion
	#region Collection Property: VendorVisitXMissionStructuresImageCollection
	
		/// <summary>
		/// Stores a collection of VendorVisitXMissionStructuresImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitXMissionStructuresImageEntity> prop_VendorVisitXMissionStructuresImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorVisitXMissionStructuresImage Entities associated with this VendorVisitXMissionStructureEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorVisitXMissionStructuresImages table
		/// that are associated with the row in the VendorVisitXMissionStructures table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Visit_XMissionStructures.Vendor_Visit_XMissionStructureId) to
		/// many (tb_Vendor_Visit_XMissionStructures_Images.Vendor_Visit_XMissionStructureFK)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Visit_XMissionStructures<para></para>
		/// PrimaryTableKey = Vendor_Visit_XMissionStructureId<para></para>
		/// ForeignTable = tb_Vendor_Visit_XMissionStructures_Images<para></para>
		/// ForeignTableKey = Vendor_Visit_XMissionStructureFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorVisitXMissionStructureEntity.
		/// Since the Entities can be of any type, this gives the VendorVisitXMissionStructureEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorVisitXMissionStructuresImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitXMissionStructuresImageEntity>   VendorVisitXMissionStructuresImageCollection
		{
			get {return prop_VendorVisitXMissionStructuresImageCollection;}
			set {prop_VendorVisitXMissionStructuresImageCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
